package com.smw.cn.dao.main.java.com.smw.cn.service;

import com.smw.cn.entity.Purchase;
import com.smw.cn.model.MyPurchase;

import java.util.List;

public interface PurchaseService {

    void add(Purchase purchase);

    List<MyPurchase> selectByPurchaseType();

    Purchase selectNewPurchaseId(String ownName);

}
